#ifndef EDGES_H
#define EDGES_H
#include <list>
#include "Cluster.h"

using std::vector;

struct Edge {
    Cluster* c1, c2;
    float v;
    Edge(Cluster t1, Cluster t2, float tv) : c1(t1), c2(t2), v(tv) {}
};

class Edges {
  public:
    Edges();

    void add(const Edge& e);
  private:
    // edges sort by v with decreasing order
    list<Edge> es;
};
#endif
